﻿
using Dapper.Contrib.Extensions;
using System;
using System.Linq;
using System.Text;
namespace SXFramWork.Model
{
	/// <summary>
	/// 消息通知
	/// </summary>
	[Table("SysMessage")]
	public class SysMessageEntity
	{   /// <summary>
		/// Id
		/// </summary>	
		[ExplicitKey]
		public string Id { get; set; }
		/// <summary>
		/// 消息类型(0通知 1私信 2业务处理)
		/// </summary>			
		public int Type { get; set; }
		/// <summary>
		/// 消息内容
		/// </summary>			
		public string Content { get; set; }
		/// <summary>
		/// 收件人Id
		/// </summary>			
		public string ToUserId { get; set; }
	
		/// <summary>
		/// 是否有效
		/// </summary>			
		public int Enable { get; set; }
		/// <summary>
		/// 创建时间
		/// </summary>			
		public DateTime CreateTime { get; set; }
		/// <summary>
		/// 创建人id
		/// </summary>			
		public string Creator { get; set; }
		/// <summary>
		/// 是否点击后已读
		/// </summary>			
		public int ClickRead { get; set; }
		public string CreatorName { get; set; }
	}
}